package com.lzp.badminton.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author astupidcoder
 * @since 2022-02-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Forumcomment extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 评论编号
     */
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 对应的话题编号
     */
    private Integer forumId;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 评论者用户编号
     */
    private String userId;

    /**
     * 评论时间
     */
    private String sentDate;

    /**
     * 点赞数
     */
    private Integer likeNum;

    /**
     * 踩数
     */
    private Integer unlikeNum;


}
